package com.supply.pojo;

import lombok.Data;

import java.util.Date;
@Data
public class LeaveBill {
    private Long id;

    private Integer day;

    private String title;

    private String remark;

    private Date leaveDate;

    private Integer state;

    private Long userId;

    public LeaveBill(Long id, Integer day, String title, String remark, Date leaveDate, Integer state, Long userId) {
        this.id = id;
        this.day = day;
        this.title = title;
        this.remark = remark;
        this.leaveDate = leaveDate;
        this.state = state;
        this.userId = userId;
    }

    public LeaveBill() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getDay() {
        return day;
    }

    public void setDay(Integer day) {
        this.day = day;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getLeaveDate() {
        return leaveDate;
    }

    public void setLeaveDate(Date leaveDate) {
        this.leaveDate = leaveDate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}